<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div style="padding:15px 30px">
		<form id="permissionForm" method="post">
			<input name="id" type="hidden">
	        <div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="text" name="text" style="width:100%" data-options="label:'权限名称:',required:true,missingMessage:'权限名称必须填写'">
	        </div>
	        <div style="margin-bottom:18px">
			    
			      <select id="parentPermission" name="parentPermission" class="easyui-combotree" style="width:100%;"
					   data-options="url:'permission/permissionAll',label: '类别',clear:'none'">
				  </select>
			</div>
			<div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="type" name="type" style="width:100%" data-options="label:'类型名称:',">
	        </div>
	        <div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="url" name="url" style="width:100%" data-options="label:'访问地址:'">
	        </div>
	        <div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="percode" name="percode" style='width:100%' data-options="label:'标识:'">
	        </div>
		</form>
	</div>
</body>
</html>